@import '@/style/mixin.scss';
view,
page,
text,
button,
image,
textarea,
scroll-view,input {
	box-sizing: border-box;
}
image {
	display: block;
}
button {
	margin: 0;
	padding: 0;
	background-color: #FFFF;
}
button::after {
	border: none;
}
// 主题背景色
.themeBgColor {
	background-color: $themeColor;
}
// 主题字体色
.themeFontColor {
	color: $themeColor !important;
}

.ellipsis{text-overflow: ellipsis;overflow: hidden;white-space: nowrap;}/*超出指定宽度隐藏*/
.ellipsis2{text-overflow: ellipsis;overflow: hidden;display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp:2}/*超出2行隐藏*/
.u-flex {
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	align-items: center;
}
.u-flex-m {
	-webkit-box-flex: 1;
	-webkit-flex: 1;
	flex: 1;
	overflow: hidden;
}


.mod-dialog {
    z-index: 111;
    width: 84%;
    max-width: 690rpx;
	position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    background-color: #fff;
}
.mod-poster {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 30rpx 30rpx 0 30rpx;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 110;
    overflow: hidden;
    visibility: hidden;
}
.mod-poster.show {
    visibility: visible;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}
.mod-poster-card {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    min-height: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    pointer-events: none;
    z-index: 100;
}
.mod-poster-card.show {
    pointer-events: auto;
}
.mod-poster.show {
    visibility: visible;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}
.mod-poster-card.show .mod-poster-card-pic, .mod-poster-card.show .btn{
    opacity: 1;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    -webkit-transition: all .4s cubic-bezier(.2,1.45,.82,1.01);
    -o-transition: all .4s cubic-bezier(.2,1.45,.82,1.01);
    transition: all .4s cubic-bezier(.2,1.45,.82,1.01);
}
.mod-poster-card .btn{
	opacity: 0;
}
.mod-poster-card-pic{
    position: relative;
    opacity: 0;
    -webkit-transform: scale(.7);
    -ms-transform: scale(.7);
    transform: scale(.7);
    -webkit-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
}
.mod-poster-close {
    position: absolute;
    right: 15rpx;
    top: 15rpx;
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
	width: 45rpx;height: 45rpx;
	opacity: 0;
	-webkit-transition: all .2s ease;
	-o-transition: all .2s ease;
	transition: all .2s ease;
}
.mod-poster-card.show .mod-poster-close {
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
	webkit-transition: all .5s ease .35s;
	-o-transition: all .5s ease .35s;
	transition: all .5s ease .35s;
	opacity: 1;
}
//flex上下排版
.u-consult-info {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}

// //弹窗居中+动画
// //如果内容超出高度会出现滚动条
// <view class="mod-poster" :class="{show : lyShow}">
// 	<view class="mod-poster-card" :class="{show : lyShow}">
// 		<view class="video-ly mod-poster-card-pic">
// 			<view>
// 				这里是主要内容
// 			</view>
// 			<view class="mod-poster-close" @click="closeLY()" style="left: -10rpx;top:-55rpx;">
// 				<u-icon name="close-circle" color="#fff" size="45"></u-icon>
// 			</view>
// 		</view>
// 	</view>
// 	<u-mask :show="lyShow" z-index="99" @click="closeLY()"></u-mask>
// </view>